package com.base.api.dto.commodityClassify;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "商品分类查询请求参数")
public class CommodityClassifyListDTO implements Serializable {

    @ApiModelProperty(value = "父级分类id(一级分类传0)")
    @NotNull
    private Integer classifyPid;
}
